package cn.java76.springboot.demo1.entity;


import java.util.Date;

public class ORatation {

  private long id;
  private String title;
  private String url;
  private String picurl;
  private Date createtime;
  private int inuse;
  private Date modifytime;

  public ORatation() {
  }

  public ORatation(String title, String url, String picurl, Date createtime, int inuse, Date modifytime) {
    this.title = title;
    this.url = url;
    this.picurl = picurl;
    this.createtime = createtime;
    this.inuse = inuse;
    this.modifytime = modifytime;
  }

  public ORatation(long id, String title, String url, String picurl, Date createtime, Date modifytime) {
    this.id = id;
    this.title = title;
    this.url = url;
    this.picurl = picurl;
    this.createtime = createtime;
    this.modifytime = modifytime;
  }

  public ORatation(String title, String url, String picurl, int inuse) {
    this.title = title;
    this.url = url;
    this.picurl = picurl;
    this.inuse = inuse;
  }

  public ORatation(long id, String title, String url, String picurl) {
    this.id = id;
    this.title = title;
    this.url = url;
    this.picurl = picurl;
  }

  public ORatation(long id, String title, String url, String picurl, Date modifytime) {
    this.id = id;
    this.title = title;
    this.url = url;
    this.picurl = picurl;
    this.modifytime = modifytime;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }

  public String getPicurl() {
    return picurl;
  }

  public void setPicurl(String picurl) {
    this.picurl = picurl;
  }

  public Date getCreatetime() {
    return createtime;
  }

  public void setCreatetime(Date createtime) {
    this.createtime = createtime;
  }

  public int getInuse() {
    return inuse;
  }

  public void setInuse(int inuse) {
    this.inuse = inuse;
  }

  public Date getModifytime() {
    return modifytime;
  }

  public void setModifytime(Date modifytime) {
    this.modifytime = modifytime;
  }

  @Override
  public String toString() {
    return "ORatation{" +
            "id=" + id +
            ", title='" + title + '\'' +
            ", url='" + url + '\'' +
            ", picurl='" + picurl + '\'' +
            ", createtime=" + createtime +
            ", inuse=" + inuse +
            ", modifytime=" + modifytime +
            '}';
  }
}
